<template>
  <div class="page-container">
    <div class="search-container">
      <slot name="search"></slot>
    </div>
    <div class="btn-container">
      <slot name="btn"></slot>
    </div>
    <div class="content-container">
      <slot name="content"></slot>
    </div>
    <div class="footer-container">
      <slot name="footer"></slot>
    </div>
  </div>
</template>
<script >
export default {
  name: "StTablePanel",
  props:{
    title: String,
  },
  data() {
    return {
    };
  }
}
</script>
<style scoped lang="scss">
.page-container {
  border: 1px solid #eaeffc;
  height: calc(100vh - 145px);
  overflow: auto;
  box-shadow: 0px 0px 12px 0px rgba(188, 188, 188, 0.36);
  .title {
    font-size: 16px;
    font-weight: 700;
    border-bottom: 1px solid #e6ebf5;
    box-sizing: border-box;
    display: flex;
    padding: 10px 5px;
    align-items: center;
    .btn-area {
      -webkit-box-flex: 1;
      flex: 1;
      text-align: right;
      margin-right: 0px;
    }
    .title-icon {
      width: 6px;
      height: 20px;
      background-color: #409EFF;
      background-size: 100% 100%;
      margin: 1px 7px 0px 7px;
    }
  }
  .content-container {
    /*background: #f2f2f2;
    margin-top: 5px;*/
    padding-left: 10px;
    padding-right: 10px;

  }
  .footer-container {
    background: #fff;
    height: 42px;
    position: absolute;
    bottom: 0px;
    right: 10px;
  }
}

::v-deep .el-form-item{
  margin-bottom: 14px;
}

.el-form{
  text-align: center;
  padding: 24px 10px 10px 10px;
}

.btn-container{
  padding:10px;
}

::v-deep .el-table__empty-block{
  border-bottom: 1px solid #e6ebf5;
}
</style>
